[INFO] cloning repository https://github.com/chrisbutcher/huffman-coding-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisbutcher/huffman-coding-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fhuffman-coding-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fhuffman-coding-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 499395f28055deed479795f132a93eb0627b039f
[INFO] testing chrisbutcher/huffman-coding-rust against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fhuffman-coding-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/chrisbutcher/huffman-coding-rust on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/chrisbutcher/huffman-coding-rust
[INFO] finished tweaking git repo https://github.com/chrisbutcher/huffman-coding-rust
[INFO] tweaked toml for git repo https://github.com/chrisbutcher/huffman-coding-rust written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/chrisbutcher/huffman-coding-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 59951fc769ee736234b4e59c2407f12c9015304a6f8fe5dbf1a04989d1cc88fd
[INFO] running `Command { std: "docker" "start" "-a" "59951fc769ee736234b4e59c2407f12c9015304a6f8fe5dbf1a04989d1cc88fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59951fc769ee736234b4e59c2407f12c9015304a6f8fe5dbf1a04989d1cc88fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59951fc769ee736234b4e59c2407f12c9015304a6f8fe5dbf1a04989d1cc88fd", kill_on_drop: false }`
[INFO] [stdout] 59951fc769ee736234b4e59c2407f12c9015304a6f8fe5dbf1a04989d1cc88fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87b4727a320a8b8be93b878f05ca5027f7e2612c804f98907a358e70d1abc94d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "87b4727a320a8b8be93b878f05ca5027f7e2612c804f98907a358e70d1abc94d", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling crossbeam-utils v0.8.4
[INFO] [stderr]    Compiling memoffset v0.6.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling crossbeam v0.8.0
[INFO] [stderr]    Compiling huffman_coding v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/codebook.rs:92:26
[INFO] [stdout]    |
[INFO] [stdout] 92 |       threads.push(scope.spawn(move || {
[INFO] [stdout]    |                          ^^^^^ ------- takes 0 arguments
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 92 |       threads.push(scope.spawn(move |_| {
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/codebook.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |   util::hash_map_reducer(results)
[INFO] [stdout]     |                          ^^^^^^^ expected struct `HashMap`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<HashMap<char, usize>>`
[INFO] [stdout]                found struct `Vec<Result<_, Box<dyn Any + Send>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/compress.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |       threads.push(scope.spawn(move|| {
[INFO] [stdout]    |                          ^^^^^ ------ takes 0 arguments
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 38 |       threads.push(scope.spawn(|_| {
[INFO] [stdout]    |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/compress.rs:51:3
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn parallel_compress(substrings: &Vec<&str>, codebook: &codebook::Codebook) -> Vec<CompressionResult> {
[INFO] [stdout]    |                                                                                    ---------------------- expected `Vec<CompressionResult>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 51 |   results
[INFO] [stdout]    |   ^^^^^^^ expected struct `CompressionResult`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<CompressionResult>`
[INFO] [stdout]               found struct `Vec<Result<_, Box<dyn Any + Send>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0593.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `huffman_coding`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "87b4727a320a8b8be93b878f05ca5027f7e2612c804f98907a358e70d1abc94d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87b4727a320a8b8be93b878f05ca5027f7e2612c804f98907a358e70d1abc94d", kill_on_drop: false }`
[INFO] [stdout] 87b4727a320a8b8be93b878f05ca5027f7e2612c804f98907a358e70d1abc94d
